package com.common.schedule;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;
import org.springframework.stereotype.Component;


public class FirstTask  extends QuartzJobBean {
 
    private FirstService firstService;
 
    public FirstService getFirstService() {
		return firstService;
	}

	@Override
    protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
       System.out.println("FirstTask:123--------------------------------");
    }
 
    public void setFirstService(FirstService firstService) {
        this.firstService = firstService;
    }
} 